Ambriel SB Weather by ibniaffa/VicDaMonki/Flybritn



Converted to GPS by RKO1195

*******************************************************************************************************


If you are set up already to use BPS weather widget then you dont need to do anything.  If you are not set up to use GPS weather widgets then 
proceed to the next section below.  

*******************************************************************************************************


 *Set weather location
use ifile or ssh to var/stash/themes/Ambriel SB Weather/ open LockBackground.html
look for this line

var locale = "38301" //e.g.   <---change 38301 to your zipcode or weather code




to get your weather code visit http://www.edg3.co.uk/snippets/weather-location-codes/


******************************************************************************************************

Change the clock to 24 hour format.

go into ( Aspire iPad AnyWall LS Weather ) wich ever one you using, open up the html file scroll down untill you see

function updateClock ( )

then look for this

var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";


currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;


currentHours = ( currentHours == 0 ) ? 12 : currentHours;

you want to change it so it looks like this below

var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";


currentHours = ( currentHours > 24 ) ? currentHours - 12 : currentHours;


currentHours = ( currentHours == 0 ) ? 12 : currentHours;

*********************************************************************************************************

Please Note:  This Widget uses it's own Wallpaper "wall.png" there are 2 included to choose from If u wish to use "wall 2" 
then Simply rename it to "wall"  make sure to rename the original wall.png first.

 